package com.cucn.ingmall.product.dao;

import com.cucn.ingmall.product.entity.AttrAttrgroupRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性&属性分组关联
 *
 * @author kouchaojie
 * @email kou1688@foxmail.com
 * @date 2021-11-17 16:27:04
 */
@Mapper
public interface AttrAttrgroupRelationDao extends BaseMapper<AttrAttrgroupRelationEntity> {
    /**
     * 批量删除属性与分组的关联关系
     *
     * @param relationEntities 需删除的关联关系
     */
    void deleteBatchRelation(@Param("entities") List<AttrAttrgroupRelationEntity> relationEntities);
}
